package com.ytraveler;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 提供监控信息接口信息---暴露
 * 获取服务之间的调用信息-以及当前运行环境之间的信息,
 * 作为服务注册在zookeeper对外提供信息。
 */

@EnableTransactionManagement //启动注解,相当于<tx:annation-driven/>
@SpringBootApplication
@ComponentScan(basePackages = "com.ytraveler")
public class AuthrizationManagerApplication {

    public static void main(String[] args) {

        SpringApplication.run(AuthrizationManagerApplication.class, args);
    }
}
/**
 *
 * */